//用户信息
interface IAuthUser {
  userName: string
  imgPath: string
  token: string
}

//菜单导航
interface IMenusTree {
  menuId: number | string
  menuName: string
  url: string
  icon: string
  children: {
    menuId: number | string
    menuName: string
    url: string
    icon: string
  }[]
}

//TabPage
interface ITabPage {
  name: number | string
  label: string
  url: string
  icon: string
  disabled?: boolean
  closable?: boolean
  keep?: boolean
}

//菜单
interface IMenus {
  menuId: number,
  menuName: string,
  url: string,
  parentId: number,
  icon: string
}

interface IImage {
  imgId: number,
  title: string,
  path: string,
  size: number,
  extension: string,
  modular: number
}

export type { IAuthUser, IMenusTree, ITabPage, IMenus, IImage }